package cn.usian.jyzx.product.mapper;

import cn.usian.jyzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper {

    List<Category> findOneLevel();

    List<Category> getCategoryListByParentId(Long id);

    List<Category> findAll();



}
